import React, {Component, PureComponent} from 'react';
// import Emoji from "./views/Emoji";
import MsgBoard from "./msgBoard";

class Index extends PureComponent {
  state = {
    // name: '小王'

  };

  render() {
    console.log('render');
    return (
      <div>
        {/*<button onClick={()=>{*/}
        {/*  this.setState({*/}
        {/*    name: '小张'*/}
        {/*  })*/}
        {/*}}>改变状态</button>*/}
        {/*<Emoji/>*/}
        <MsgBoard/>
      </div>
    );
  }
}

export default Index;
